package cn.dream.ebag.MessengerLib.constants;


import android.support.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @ProjectName: MessengerServer
 * @Package: cn.dream.baselibrary
 * @Author: qktang
 * @CreateDate: 2021/1/11 11:43
 * @Description: 描述
 */
public class MSAction {

    public static final String ACTION_CONNECT = "cn.dream.mmc.action.BIND";
    public static final String ACTION_SEND_JSON = "cn.dream.mmc.action.SEND_JSON";
    public static final String ACTION_SEND_ERROR = "cn.dream.mmc.action.SEND_ERROR";
    public static final String ACTION_REQUEST_CONNECTED_CLIENT = "cn.dream.mmc.action.REQUEST_CONNECTED_CLIENT";
    public static final String ACTION_CLOSE_CLIENT = "cn.dream.mmc.action.CLOSE_CLIENT";
    public static final String ACTION_CLOSE_SERVER = "cn.dream.mmc.action.CLOSE_SERVER";


    @StringDef({ACTION_CONNECT, ACTION_SEND_JSON,ACTION_SEND_ERROR,ACTION_CLOSE_CLIENT,ACTION_CLOSE_SERVER})
    @Retention(RetentionPolicy.SOURCE)
    public @interface MSActionType{}
}
